﻿#pragma once

#include <string>
#include <iostream>
#include "serial/serial.h"
#include "UartWriteFile.h"


void find_port_infor(void);


int run(serial::Serial& my_serial, UartWriteFile& SaveFp);

void init_uart(char* port, uint32_t baud);

int run_send(serial::Serial& my_serial, const uint8_t *data, size_t size);
